-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Drivers: ADC: add ADC driver for Infineon Edge MCU family #97823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
samples/drivers/adc/adc_dt/boards/kit_pse84_eval_pse846gps2dbzc4a_m55.overlay
Show resolved
Hide resolved
tests/drivers/adc/adc_api/boards/kit_pse84_eval_pse846gps2dbzc4a_m55.overlay
Show resolved
Hide resolved
99e07db
to
9a900bb
Compare
9a900bb
to
885aea3
Compare
*Separates AutAnalog and AutAnalog ADC in device tree. *Makes AutAnalog SAR ADC a child of the AutAnalog system to reflect hardware architecture. *Adds binding file for AutAnalog SAR ADC driver. Signed-off-by: John Batch <[email protected]>
*Adds AutAnalog related files to the cmakeu list and adding KConfig definitions for AutAnalog and AutAnalog SAR ADC. *Updates hal_infineon in west manifest. *Updates infineon_kconfig.h to prevent multiple declarations of defines. Signed-off-by: John Batch <[email protected]>
Changes initialization to use a function from hal_infineon. This initialization function will initialize the AutAnalog system if needed as well as the SystemInit. Signed-off-by: John Batch <[email protected]>
Adds AutAnalog SAR ADC driver files to support ADC conversions in the PCSOC Edge family of MCUs. Signed-off-by: John Batch <[email protected]>
Adding files to allow running the following samples for the Infineon AutAnalog SAR ADC driver on the PSOC Edge family of MCUs: * samples/drivers/adc_dt * samples/drivers/adc_sequence Signed-off-by: John Batch <[email protected]>
Adding files to allow running the following tests for the Infineon AutAnalog SAR ADC driver on the PSOC Edge family of MCUs: * tests/drivers/adc/adc_api * tests/drivers/adc/adc_error_cases Signed-off-by: John Batch <[email protected]>
885aea3
to
647f5a5
Compare
|
/* Wait for conversion to complete */ | ||
do { | ||
result_status = Cy_AutAnalog_SAR_GetHSchanResultStatus(0); | ||
} while ((result_status & sequence->channels) != sequence->channels); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may need to invoke adc_context_wait_for_completion
This change implements an ADC driver for the PSOC Edge family of MCUs that use the Autonomous Analog (AutAnalog) SAR ADC.